/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TradeModeEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String COMMON_VALUE = "1";
    public static final String INCOME_VALUE = "2";
    public static final String UNFEED_VALUE = "3";
    public static final String FEED_VALUE = "4";
    public static final String RESOLD_VALUE = "5";

    public static final TradeModeEnum isnull = new TradeModeEnum("isnull", ISNULL_VALUE);
    public static final TradeModeEnum common = new TradeModeEnum("common", COMMON_VALUE);
    public static final TradeModeEnum income = new TradeModeEnum("income", INCOME_VALUE);
    public static final TradeModeEnum unFeed = new TradeModeEnum("unFeed", UNFEED_VALUE);
    public static final TradeModeEnum feed = new TradeModeEnum("feed", FEED_VALUE);
    public static final TradeModeEnum RESOLD = new TradeModeEnum("RESOLD", RESOLD_VALUE);

    /**
     * construct function
     * @param String tradeModeEnum
     */
    private TradeModeEnum(String name, String tradeModeEnum)
    {
        super(name, tradeModeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TradeModeEnum getEnum(String tradeModeEnum)
    {
        return (TradeModeEnum)getEnum(TradeModeEnum.class, tradeModeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TradeModeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TradeModeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TradeModeEnum.class);
    }
}